package com.mygame.xinyue.logic;

import com.mygame.message.dispatcher.GameMessageHandler;

@GameMessageHandler
public class GameIMHandler {
//    @GameMessageMapping(SendIMMsgRequest.class)
//    public void sendMsg(SendIMMsgRequest request, NatsMessageContext ctx) {
//        String chat = request.getBodyObj().getChat();
////        String sender = ctx.getPlayer().getNickName();
//        SendIMMsgeResponse response = new SendIMMsgeResponse();
//        response.getBodyObj().setChat(chat);
////        response.getBodyObj().setSender(sender);
//        ctx.broadcastMessage(response);
//    }
}
